const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  userId: state => state.user.userId,
  username: state => state.user.username,
  roles: state => state.user.roles,
  workplace: state => state.user.workplace,
  department: state => state.user.department,
  ranks: state => state.user.ranks,
  usersList: state => state.user.usersList,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  errorLogs: state => state.errorLog.logs,
  socket: state => state.websocket.socket
}
export default getters
